<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});

Route::any('/logger', function () {
    $req = request();   logger((string) $req);
    $all = $req->all(); logger($all);
    return $all;
});

/**
 * 返回注册协议
 *
 * @see \App\Http\Controllers\Api\V1\App\Customers\CustomerRegisterController::create()
 */
Route::get('/agreements/register', '\App\Http\Controllers\Api\V1\App\Customers\CustomerRegisterController@create');


